package com.circle.interests.biz.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.circle.common.mybatisplus.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 奖品信息
 * </p>
 *
 * @author generator
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PrizeInfo对象", description="奖品信息")
public class PrizeInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公众号ID")
    private String appId;

    @ApiModelProperty(value = "项目ID")
    private String projectId;

    @ApiModelProperty(value = "奖品分类")
    private Long categoryId;

    @ApiModelProperty(value = "奖品名称")
    private String name;

    @ApiModelProperty(value = "奖品说明")
    private String remark;

    @ApiModelProperty(value = "奖品编码")
    private String code;

    @ApiModelProperty(value = "奖品图片")
    private String img;

    @ApiModelProperty(value = "奖品小图")
    private String smallImg;

    @ApiModelProperty(value = "奖品原价;单位分")
    private Integer originalPrice;

    @ApiModelProperty(value = "奖品价格;单位分")
    private Integer price;

    @ApiModelProperty(value = "级别名称")
    private String levelName;

    @ApiModelProperty(value = "类型;1直充 2卡密")
    private Integer type;

    @ApiModelProperty(value = "库存类型;1不限量，2限量，3限量金额")
    private Integer inventoryType;

    @ApiModelProperty(value = "库存总数;限量金额时为金额，单位分")
    private Integer total;

    @ApiModelProperty(value = "库存余额;限量金额时为金额，单位分")
    private Integer remain;

    @ApiModelProperty(value = "状态;状态：1有效 0无效")
    private Integer status;

    @ApiModelProperty(value = "删除标识;0否 1是")
    @TableLogic
    private Integer delFlag;


}
